import request from "@/utils/request";

export function cartList(data) {
  return request({
    url: "/mall/cart/lists",
    method: "post",
    data,
  });
}

export function cartAdd(data) {
  return request({
    url: "/mall/cart/add",
    method: "post",
    data,
  });
}

export function cartDel(data) {
  return request({
    url: "/mall/cart/del",
    method: "post",
    data,
  });
}


export function cartEdit(data) {
  return request({
    url: "/mall/cart/edit",
    method: "post",
    data,
  });
}
export function cartClear(data) {
  return request({
    url: "/mall/cart/clear",
    method: "post",
    data,
  });
}
